package com.linln.modules.order.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.order.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @author : pengliang
 * @version V1.0
 * @Project: timo
 * @Package com.linln.modules.order.repository
 * @Descriptio /**
 * @Project: timo
 * @Package com.linln.modules.order.repository
 * @Description: TODO
 * @date Date : 2020年12月25日 16:37
 */

@Mapper
@Component
public interface OrderMapper extends BaseMapper<Order> {
    List<Order> selectIntegralMallOrder(@Param("userId") long userId, @Param("status") Integer status);

    Order selectIntegralMallOrderInfo(@Param("orderId") String orderId);


    List<Order> selectAllIntegralOrder(@Param("status")Integer status,@Param("number")String number);
}
